package com.gcsoftware.web.test;

/*import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;*/
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by qs on 2018/4/16.
 */
@RestController
@RequestMapping("/redisTest")
public class RedisController {
    /*@Autowired
    private StringRedisTemplate redis;

    @GetMapping
    public String getRedis() {
        redis.opsForValue().set("test-key" , "HELLO_WOSHIVALUE");
        return redis.opsForValue().get("test-key");
    }*/
}
